package com.movies.service.mapper;

import com.movies.service.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


public interface UserMapper extends BaseMapper<User> {
    User selectUserById(@Param("id") Long id);
    int insertUser(User user);
    int updateUserById(User user);
    int deleteUserById(@Param("id") Long id);
    int deleteUsersByIds(@Param("ids") java.util.List<Long> ids);
}




